package borge.web.teamspirit.client.interfaces;

public interface WidgetEventHandler {
	
	public enum WidgetEventType {
		// Generic values
		LOGGED_IN, 
		LOGGED_OUT, 
		
		// Creation values
		/* Start of CREATED enums */
		CREATED_START,
		
		PERSON_CREATED,
		PLAYER_CREATED,
		MATCH_CREATED,
		SERIE_CREATED,
		NEWS_CREATED,
		EVENT_CREATED,
		TEAM_CREATED,
		
		CREATED_END,
		/* End of CREATED enums */
		
		/* Start of LIST enums */
//		LIST_START,
//		
//		LIST_TEAMS,
//		LIST_PERSONS,
//		LIST_PLAYERS,
//		LIST_SERIES,
//		LIST_MATCHES,
//		LIST_NEWS,
//		
//		LIST_END,
		/* End of LIST enums */
		
		/* Start of EDIT enums */
//		EDIT_START,
//		
//		EDIT_TEAM,
//		EDIT_PERSON,
//		EDIT_PLAYER,
//		EDIT_SERIE,
//		EDIT_MATCH,
//		EDIT_NEWS,
//		EDIT_EVENT,
//		
//		EDIT_END,
		/* End of EDIT enums */
		
		/* Start of DELETE enums */
		DELETE_START,
		
		DELETE_TEAM,
		DELETE_PERSON,
		DELETE_PLAYER,
		DELETE_MATCH,
		DELETE_SERIE,
		DELETE_NEWS,
		DELETE_EVENT,
		
		DELETE_END,
		/* End of DELETE enums */
		
		/* Start of SHOW enums */
//		SHOW_START,
//
//		SHOW_TEAM,
//		SHOW_PERSON,
//		SHOW_PLAYER,
//		SHOW_MATCH,
//		SHOW_SERIE,
//		SHOW_NEWS,
//		SHOW_EVENT,
//		
//		SHOW_END,
		/* End of SHOW enums */
		
		MENU_CLICKED,
		CLEAR_MENU
		};
	
	public void handleWidgetEvent(WidgetEventType aEvent);
	

}
